﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class task : FATERNPC
    {
        public task(string name,string name1,string name2 ,string nfcinfo,string nfcinfo1,string nfcinfo2) : base(name,name1,name2,nfcinfo,nfcinfo1,nfcinfo2)
        {

        }
        public override void Speack()
        {
            Console.WriteLine("请选择所需要的NPC：1.送信NPC 2.杀怪NPC 3.采集NPC");
            string str = Console.ReadLine();
            switch (str)
            { case "1":
                    Console.WriteLine("你好，我叫{0},是位{1}，请问你是否需要送信或者邮寄包裹？送信需要1块钱，邮寄包裹需要2块钱。",this.Name,this.Nfcinfo);
                    break;
                case "2":
                    Console.WriteLine("你好，我叫{0},是位{1}，请问是否需要我去杀怪物，怪物越强，需要的价格越高。", this.Name1, this.Nfcinfo1);
                    break;
                case "3":
                    Console.WriteLine("你好，我叫{0},是位{1}，请问需要采集什么材料，大部分材料我都可以采集到。", this.Name2, this.Nfcinfo2);
                    break;
                default:
                    break;
            }
        }
    }
}
